Causal Linearizability: Compositionality for Partially Ordered Executions

نویسندگان

  • Simon Doherty
  • John Derrick
  • Brijesh Dongol
  • Heike Wehrheim
چکیده

In the interleaving model of concurrency, where events are totally ordered, linearizability is compositional: the composition of two linearizable objects is guaranteed to be linearizable. However, linearizability is not compositional when events are only partially ordered, as in many weak-memory models that describe multicore memory systems. In this paper, we present causal linearizability, a correctness condition for concurrent objects implemented in weak-memory models. We abstract from the details of specific memory models by defining our condition using Lamport’s execution structures. We apply our condition to the C11 memory model, providing a correctness condition for C11 objects. We develop a proof method for verifying objects implemented in C11 and related models. Our method is an adaptation of simulation-based methods, but in contrast to other such methods, it does not require that the implementation totally order its events. We also show that causal linearizability reduces to linearizability in the totally ordered case.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Constructive Proof On the Compositionality of Linearizability

Linearizability is the strongest correctness property for both shared memory and message passing concurrent systems. One promising nature of linearizability is the compositionality: a history(execution) is linearizable if and only if each object subhistory is linearizable, which is instructive in that we are able to design, implement and test a whole system from the bottom up. In this paper, we...

متن کامل

Between Linearizability and Quiescent Consistency - Quantitative Quiescent Consistency

Linearizability is the de facto correctness criterion for concurrent data structures. Unfortunately, linearizability imposes a performance penalty which scales linearly in the number of contending threads. Quiescent consistency is an alternative criterion which guarantees that a concurrent data structure behaves correctly when accessed sequentially. Yet quiescent consistency says very little ab...

متن کامل

Quantitative Quiescent Consistency

Linearizability is the de facto correctness criterion for concurrent data structures. Unfortunately, linearizability imposes a performance penalty which scales linearly in the number of contending threads. Quiescent consistency is an alternative criterion which guarantees that a concurrent data structure behaves correctly when accessed sequentially. Yet quiescent consistency says very little ab...

متن کامل

Temporal logic of causal knowledge ?

Temporal logic of causal knowledge over general partially ordered structures is deened. The deenition of knowledge captures the change of state due to action executions. The structures are a variant of ow event structures including prime event structures and branching processes of Petri Nets. Modalities corresponding to the causality, independency, and indis-tinguishability relations are used. ...

متن کامل

Partially ordered distributed computations on asynchronous point-to-point networks

Asynchronous executions of a distributed algorithm di er from each other due to the nondeterminism in the order in which the messages exchanged are handled. In many situations of interest, the asynchronous executions induced by restricting nondeterminism are more e cient, in an application-speci c sense, than the others. In this work, we de ne partially ordered executions of a distributed algor...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1802.01866  شماره 

صفحات  -

تاریخ انتشار 2018